﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TestWindow
{
    public partial class Rect : Form
    {
        public Rect()
        {
            InitializeComponent();
        }

        private string _descrip = "";

        public string Descrip
        {
            get { return _descrip; }
            set { _descrip = value; }
        }


        private void button1_Click(object sender, EventArgs e)
        {
            this._descrip = this.textBox1.Text;
            this.DialogResult = DialogResult.OK;
        }
    }
}
